package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Participationrecord implements Serializable {
    private String pprno;

    private String pno;

    private String arno;

    private String pprnumber;

    private String pprdescribe;

    private String pprdate;

    private Integer pprstate;

    private static final long serialVersionUID = 1L;

    public String getPprno() {
        return pprno;
    }

    public void setPprno(String pprno) {
        this.pprno = pprno;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getArno() {
        return arno;
    }

    public void setArno(String arno) {
        this.arno = arno;
    }

    public String getPprnumber() {
        return pprnumber;
    }

    public void setPprnumber(String pprnumber) {
        this.pprnumber = pprnumber;
    }

    public String getPprdescribe() {
        return pprdescribe;
    }

    public void setPprdescribe(String pprdescribe) {
        this.pprdescribe = pprdescribe;
    }

    public String getPprdate() {
        return pprdate;
    }

    public void setPprdate(String pprdate) {
        this.pprdate = pprdate;
    }

    public Integer getPprstate() {
        return pprstate;
    }

    public void setPprstate(Integer pprstate) {
        this.pprstate = pprstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Participationrecord other = (Participationrecord) that;
        return (this.getPprno() == null ? other.getPprno() == null : this.getPprno().equals(other.getPprno()))
            && (this.getPno() == null ? other.getPno() == null : this.getPno().equals(other.getPno()))
            && (this.getArno() == null ? other.getArno() == null : this.getArno().equals(other.getArno()))
            && (this.getPprnumber() == null ? other.getPprnumber() == null : this.getPprnumber().equals(other.getPprnumber()))
            && (this.getPprdescribe() == null ? other.getPprdescribe() == null : this.getPprdescribe().equals(other.getPprdescribe()))
            && (this.getPprdate() == null ? other.getPprdate() == null : this.getPprdate().equals(other.getPprdate()))
            && (this.getPprstate() == null ? other.getPprstate() == null : this.getPprstate().equals(other.getPprstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPprno() == null) ? 0 : getPprno().hashCode());
        result = prime * result + ((getPno() == null) ? 0 : getPno().hashCode());
        result = prime * result + ((getArno() == null) ? 0 : getArno().hashCode());
        result = prime * result + ((getPprnumber() == null) ? 0 : getPprnumber().hashCode());
        result = prime * result + ((getPprdescribe() == null) ? 0 : getPprdescribe().hashCode());
        result = prime * result + ((getPprdate() == null) ? 0 : getPprdate().hashCode());
        result = prime * result + ((getPprstate() == null) ? 0 : getPprstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", pprno=").append(pprno);
        sb.append(", pno=").append(pno);
        sb.append(", arno=").append(arno);
        sb.append(", pprnumber=").append(pprnumber);
        sb.append(", pprdescribe=").append(pprdescribe);
        sb.append(", pprdate=").append(pprdate);
        sb.append(", pprstate=").append(pprstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}